import request from '@/utils/request'

export function dtulist(data) {
  return request({
    url: '/dtulist',
    method: 'post',
    params: data
  })
}

export function dtuDetail(data) {
  return request({
    url: '/dtudetail',
    method: 'post',
    params: data
  })
}

export function createDtu(data) {
  return request({
    url: '/dtuadd',
    method: 'post',
    data
  })
}

export function updateDtu(data) {
  return request({
    url: '/dtuupdate',
    method: 'post',
    data
  })
}
